﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using Ace.Application;
using Chloe.Entities.Enums;

namespace Chloe.Application.Models.Activity
{
    public class AddOrUpdateActivityInput : ValidationModel
    {
        [RequiredAttribute(ErrorMessage = "活动名称不能为空")]
        public string Name { get; set; }
        public DateTime Date { get; set; }
        public string People { get; set; }
        public string Description { get; set; }
    }
    public class AddActivityInput : AddOrUpdateActivityInput
    {
    }
    public class UpdateActivityInput : AddOrUpdateActivityInput
    {
        [RequiredAttribute(ErrorMessage = "{0}不能为空")]
        public string Id { get; set; }
    }
}
